<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 
	<head><title>{#$title_noun#} hilite_index_event</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Language" content="zh_TW" />

<script  type="text/javascript" src="/cms/js/cms.1.1.min.js"></script>
<script type="text/javascript" src="/cms/js/tag/jquery.tokeninput.js"></script>
<link media="all" href="/cms/css/cms.min.css" type="text/css" rel="stylesheet" /> 
<link rel="stylesheet" type="text/css" href="/cms/css/tag/token-input.css" />
</head>
<body> 
{#include file="$navigation"#}
<div style="float:right;" id="login"></div>

<h1><span id="parent_key_label"></span>{#$title_noun#} Hilite index event{#$clear_search_link#}</h1>
 
<form name="list" method="post" action="{#$self_url#}" enctype="multipart/form-data">	
<div class='tableWrapper' style="width:100%;margin:0;padding:0;">
  <div class='tableHeader' >
   
  <!--standard hidden value-->
  
  <input name="action" value="list" type="hidden"><input name="subaction" type="hidden">
  
	<ul class="tableActions">
	
	<li><input class="psbutton" onmouseover="this.className='psbuttonhover'" onmouseout="this.className='psbutton'" name="Submit" value=" 新增 " onclick="javascript:window.location.href='{#$self_url#}/showadd'" type="button"></li>
	</ul>
  <div align="right">{#$pagelist[2]#}</div>
  
  <div class='clear'></div>
  <div class='corner left'></div>
  <div class='corner right'></div>
  </div>

<table border="0" cellspacing='0'  class="list_table">
<thead><tr>
	<th>id</th>
<th>標題</th>
<th>內容</th>
<th>體驗活動分類</th>
<th>網址</th>
<th>photo</th>
<th>Action</th>
</tr></thead>
{#foreach from=$list_data item=list_datum#}
<tr>
	<td style="text-align:center">{#$list_datum.id#}</td>
<td>{#$list_datum.title#}</td>
<td>{#$list_datum.body#}</td>
<td>{#$list_datum.event_type#}</td>
<td>{#$list_datum.url#}</td>
<td>
  	<script type="text/javascript">
  	CMS.image_uplaod.show('{#$list_datum.photo_image1#}','{#$list_datum.photo_image2#}',
  	'{#$list_datum.photo_imagesize1#}','{#$list_datum.photo_imagesize2#}'); </script>
  	</td>
<td style="text-align:center;"><a href="{#$self_url#}/edit/{#$list_datum.id#}"><img src="/cms/images/ico/edit.gif"></a><a href="{#$self_url#}/view/{#$list_datum.id#}"><img src="/cms/images/ico/view.gif"></a><a href="javascript:window.location.href='{#$self_url#}/del/{#$list_datum.id#}'"><img src="/cms/images/ico/delete.gif"></a></td>
</tr>
{#/foreach#} 
<tfoot><tr>
	<th>id</th>
<th>標題</th>
<th>內容</th>
<th>體驗活動分類</th>
<th>網址</th>
<th>photo</th>
<th>Action</th>
</tr></tfoot>

</table>
 
</form> 
<div style="float:left">{#$pagelist[0]#}  </div>
<div style="float:right">{#$pagelist[2]#} </div>
<div style="clear:both;"></div>

<!--{#$user_permission#}-->
<script type="text/javascript">
$(document).ready(function() {
  $('table tr:even').addClass('even');
  $('table tr:even .inner tr').addClass('even');
  $('table tr:odd .inner tr').addClass('odd');
  
});

$(document).ready(function() {
CMS.image_uplaod.thumbnail_limit_size();
});

</script>
<!--POSTRUNJS-->
</body></html>
